package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author: zhengsuyang
 * @Desc:
 * @create: 2025-11-01 17:19
 **/
@FeignClient(value = "trade-service",path = "/orders")
public interface OrderClient {
    /**
     * 标记订单已支付
     * @param orderId
     */
    @PutMapping("/{orderId}")
    public void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
